package com.ruoyi.common.core.domain.e_checkingin;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 员工请假记录对象 e_holiday_record
 * 
 * @author JYW
 * @date 2024-01-30
 */
public class EHolidayRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long uId;

    /** 部门id */
    @Excel(name = "部门id")
    private Long dId;

    /** 请假理由 */
    @Excel(name = "请假理由")
    private String hContent;

    /** 请假类型0：病假，1：事假 */
    @Excel(name = "请假类型0：病假，1：事假")
    private Long hType;

    /** 请假状态：-1：未批准，0：审核中，1：通过 */
    @Excel(name = "请假状态：-1：未批准，0：审核中，1：通过")
    private Long hStatus;

    /** 拒绝理由 */
    @Excel(name = "拒绝理由")
    private String reject;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setuId(Long uId) 
    {
        this.uId = uId;
    }

    public Long getuId() 
    {
        return uId;
    }
    public void setdId(Long dId) 
    {
        this.dId = dId;
    }

    public Long getdId() 
    {
        return dId;
    }
    public void sethContent(String hContent) 
    {
        this.hContent = hContent;
    }

    public String gethContent() 
    {
        return hContent;
    }
    public void sethType(Long hType) 
    {
        this.hType = hType;
    }

    public Long gethType() 
    {
        return hType;
    }
    public void sethStatus(Long hStatus) 
    {
        this.hStatus = hStatus;
    }

    public Long gethStatus() 
    {
        return hStatus;
    }
    public void setReject(String reject) 
    {
        this.reject = reject;
    }

    public String getReject() 
    {
        return reject;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("uId", getuId())
            .append("dId", getdId())
            .append("hContent", gethContent())
            .append("hType", gethType())
            .append("hStatus", gethStatus())
            .append("reject", getReject())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
